package com.wetao.lib_common.bean.response;

import com.wetao.lib_common.utils.JsonUtils;

/**
 * author: zhouyh
 * created on: 2020/9/11 12:02 PM
 * description: 短信验证信息
 */
public class VerifyCodeInfo {


    /**
     * code : 0
     * msg : 成功
     * data : null
     */

    private int code;
    private String msg;
    private Object data;

    public static VerifyCodeInfo objectFromData(String str) {

        return (JsonUtils.getmGson()).fromJson(str, VerifyCodeInfo.class);
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }
}
